import request from '@/utils/requset'

export const getSwiper = () => {
  return request({
    method: 'get',
    url: '/home/swiper'
  })
}
export const getHomeGroups = () => {
  return request({
    method: 'get',
    url: 'home/groups'
  })
}

export const getCityList = (num) => {
  return request({
    method: 'get',
    url: 'area/city?level=' + num
  })
}

export const getHostCity = () => {
  return request({
    method: 'get',
    url: 'area/hot'
  })
}
